package ThreadDemo;

public class ThreadDemo03 {
    static class MyRunnable implements Runnable {
        @Override
        public void run() {
            System.out.println("我是一个线程1");
        }
    }
    public static void main(String[] args) {
        Thread t=new Thread(new MyRunnable());
        t.start();
    }
}

